interface DataType {
  id: number;
  object_id: number;
  create_time: number;
  table_name: string;
  name: string;
  user_id: number;
  user: {
    avatar: string;
    sex: number;
    user_login: string;
    user_nickname: string;
    user_type: number;
  };
}

interface PluginType {
  id: number;
  category_id: number;
  user_id: number;
  name: string;
  title: string;
  keywords: string;
  description: string;
  price: string;
  demo_url: string;
  version: string;
  status: number;
  update_log: string;
  has_bought: number;
  buy_url: string;
  installed: number;
  need_update: number;
  installed_plugin?: {
    has_admin: number;
    id: number;
    name: string;
    status: number;
    title: string;
    type: number;
    version: string;
  };
}

export type { DataType, PluginType };
